package com.java.service;

import com.java.entity.Teacher;

import java.util.List;
import java.util.Map;

public interface TeacherService {

    int insert(Teacher teacher);

    int incrPaperCount(Integer teacherId);

    int delete(Integer teacherId);

    int update(Teacher teacher);

    Teacher selectOne(Integer teacherId);

    List<Teacher> selectAll();

    List<Teacher> selectByPage(Integer pageNum, Integer pageSize, Map<String, Object> map);

}
